<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人资料 - 习惯掌控</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }
        body {
            background-color: #f6f8fa;
            color: #333;
        }
        .container {
            max-width: 414px;
            margin: 0 auto;
            background-color: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .header {
            padding: 50px 20px 30px;
            background-color: #4CAF50;
            color: white;
        }
        .title {
            font-size: 24px;
            font-weight: bold;
        }
        .profile-container {
            padding: 0 20px;
        }
        .profile-card {
            display: flex;
            align-items: center;
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            margin-top: -15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .profile-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background-color: #e3f2fd;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #4CAF50;
            font-weight: bold;
            font-size: 24px;
            margin-right: 20px;
        }
        .profile-info {
            flex: 1;
        }
        .profile-name {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .profile-bio {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
        }
        .profile-stats {
            display: flex;
            gap: 15px;
        }
        .profile-stat {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #4CAF50;
        }
        .profile-stat i {
            margin-right: 5px;
        }
        .section-container {
            margin-top: 20px;
        }
        .section-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            padding: 0 20px;
        }
        .menu-list {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-bottom: 20px;
        }
        .menu-item {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid #f5f5f5;
        }
        .menu-item:last-child {
            border-bottom: none;
        }
        .menu-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #4CAF50;
            margin-right: 15px;
        }
        .menu-label {
            flex: 1;
            font-size: 16px;
        }
        .menu-arrow {
            color: #ccc;
            font-size: 14px;
        }
        .achievement-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            padding: 0 20px;
        }
        .achievement-item {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 15px;
            text-align: center;
        }
        .achievement-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #f1f8e9;
            color: #4CAF50;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin: 0 auto 10px;
        }
        .achievement-title {
            font-weight: bold;
            font-size: 12px;
            margin-bottom: 5px;
        }
        .achievement-desc {
            font-size: 10px;
            color: #666;
        }
        .goal-list {
            padding: 0 20px;
        }
        .goal-item {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 15px;
            margin-bottom: 15px;
        }
        .goal-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        .goal-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #e8f5e9;
            color: #4CAF50;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            margin-right: 15px;
        }
        .goal-title {
            flex: 1;
            font-weight: bold;
            font-size: 16px;
        }
        .goal-date {
            font-size: 12px;
            color: #666;
        }
        .goal-progress {
            height: 8px;
            background-color: #f2f2f2;
            border-radius: 4px;
            overflow: hidden;
            margin: 10px 0;
        }
        .goal-progress-fill {
            height: 100%;
            background-color: #4CAF50;
        }
        .goal-stats {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #666;
        }
        .navigation {
            position: fixed;
            bottom: 0;
            width: 100%;
            max-width: 414px;
            background-color: white;
            display: flex;
            justify-content: space-around;
            padding: 15px 0;
            border-top: 1px solid #e0e0e0;
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 12px;
            color: #888;
        }
        .nav-item.active {
            color: #4CAF50;
        }
        .nav-icon {
            font-size: 20px;
            margin-bottom: 5px;
        }
        .empty-space {
            height: 80px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="title">个人资料</div>
        </div>
        
        <div class="profile-container">
            <div class="profile-card">
                <div class="profile-avatar">L</div>
                <div class="profile-info">
                    <div class="profile-name">林晓明</div>
                    <div class="profile-bio">热爱生活，追求健康的生活方式</div>
                    <div class="profile-stats">
                        <div class="profile-stat">
                            <i class="fas fa-fire"></i> 连续31天
                        </div>
                        <div class="profile-stat">
                            <i class="fas fa-trophy"></i> 成就15个
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="section-container">
                <div class="section-title">设置</div>
                <div class="menu-list">
                    <div class="menu-item">
                        <div class="menu-icon">
                            <i class="fas fa-user"></i>
                        </div>
                        <div class="menu-label">编辑个人资料</div>
                        <div class="menu-arrow">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="menu-item">
                        <div class="menu-icon">
                            <i class="fas fa-bell"></i>
                        </div>
                        <div class="menu-label">通知设置</div>
                        <div class="menu-arrow">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="menu-item">
                        <div class="menu-icon">
                            <i class="fas fa-lock"></i>
                        </div>
                        <div class="menu-label">隐私设置</div>
                        <div class="menu-arrow">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                    <div class="menu-item">
                        <div class="menu-icon">
                            <i class="fas fa-palette"></i>
                        </div>
                        <div class="menu-label">外观</div>
                        <div class="menu-arrow">
                            <i class="fas fa-chevron-right"></i>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="section-container">
                <div class="section-title">成就</div>
                <div class="achievement-list">
                    <div class="achievement-item">
                        <div class="achievement-icon">
                            <i class="fas fa-fire"></i>
                        </div>
                        <div class="achievement-title">30天连续</div>
                        <div class="achievement-desc">连续坚持习惯30天</div>
                    </div>
                    <div class="achievement-item">
                        <div class="achievement-icon">
                            <i class="fas fa-running"></i>
                        </div>
                        <div class="achievement-title">运动达人</div>
                        <div class="achievement-desc">完成100次运动习惯</div>
                    </div>
                    <div class="achievement-item">
                        <div class="achievement-icon">
                            <i class="fas fa-book"></i>
                        </div>
                        <div class="achievement-title">阅读爱好者</div>
                        <div class="achievement-desc">累计阅读50小时</div>
                    </div>
                </div>
            </div>
            
            <div class="section-container">
                <div class="section-title">目标</div>
                <div class="goal-list">
                    <div class="goal-item">
                        <div class="goal-header">
                            <div class="goal-icon">
                                <i class="fas fa-dumbbell"></i>
                            </div>
                            <div class="goal-title">增强体能</div>
                            <div class="goal-date">剩余30天</div>
                        </div>
                        <div class="goal-progress">
                            <div class="goal-progress-fill" style="width: 60%"></div>
                        </div>
                        <div class="goal-stats">
                            <div>60% 完成</div>
                            <div>18/30天</div>
                        </div>
                    </div>
                    <div class="goal-item">
                        <div class="goal-header">
                            <div class="goal-icon">
                                <i class="fas fa-book"></i>
                            </div>
                            <div class="goal-title">阅读《掌控习惯》</div>
                            <div class="goal-date">剩余7天</div>
                        </div>
                        <div class="goal-progress">
                            <div class="goal-progress-fill" style="width: 80%"></div>
                        </div>
                        <div class="goal-stats">
                            <div>80% 完成</div>
                            <div>28/35天</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="empty-space"></div>
        </div>
        
        <div class="navigation">
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-home"></i></div>
                <div>首页</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-list-check"></i></div>
                <div>习惯</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-chart-line"></i></div>
                <div>统计</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-users"></i></div>
                <div>社区</div>
            </div>
            <div class="nav-item active">
                <div class="nav-icon"><i class="fas fa-user"></i></div>
                <div>我的</div>
            </div>
        </div>
    </div>
</body>
</html>
